package com.javabasic.tool.model;

import lombok.Data;

/**
 * @Author xiongmin
 * @Description TODO
 * @Date 2019/10/25 11:42
 * @Version 1.0
 **/
@Data
public class Car {
    private String id;
    private String color;
    private String model;
    private int year;
    private String volume;
    private Person person;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getModel() {
        return model;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public Integer getYear() {
        return year;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getVolume() {
        return volume;
    }
}
